package com.sasis.webapp.form;

import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;

public class InforFlowForm extends ActionForm{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private String[] applicationInstanceId =null;

	private String wiId = "";

	private String processId = "";

	private String[] id = null;

	private String operFlag = "";

	private String name = "";

	private String password = "";

	/*
	 * Generated Methods
	 */

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	/**
	 * Method validate
	 * 
	 * @param mapping
	 * @param request
	 * @return ActionErrors
	 */
	public ActionErrors validate(ActionMapping mapping,
			HttpServletRequest request) {
		// TODO Auto-generated method stub
		return null;
	}

	/**
	 * Method reset
	 * 
	 * @param mapping
	 * @param request
	 */
	public void reset(ActionMapping mapping, HttpServletRequest request) {
		// TODO Auto-generated method stub
		id = new String[50];
		applicationInstanceId= new String[10];
		System.out.println("------------------->>>>111111111111111");
	}

	public String getOperFlag() {
		System.out.println("------------------->>>0000"+operFlag);
		return operFlag;
	}

	public void setOperFlag(String operFlag) {
		this.operFlag = operFlag;
		System.out.println("------------------->>>>11111"+operFlag);
	}

	public String[] getId() {
		return id;
	}

	public void setId(String[] id) {
		this.id = id;
	}

	public String getProcessId() {
		return processId;
	}

	public void setProcessId(String processId) {
		this.processId = processId;
	}

	public String getWiId() {
		return wiId;
	}

	public void setWiId(String wiId) {
		this.wiId = wiId;
	}

	public String[] getApplicationInstanceId() {
		return applicationInstanceId;
	}

	public void setApplicationInstanceId(String[] applicationInstanceId) {
		this.applicationInstanceId = applicationInstanceId;
	}
}
